package com.trsj.lnsj.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.trsj.lnsj.common.DataResponse;
import com.trsj.lnsj.entity.ActivityDTO;

public interface IActivityService {

    /**
     * 查询活动信息
     * @param act
     * @return
     */
    public DataResponse selectActivityInfo(ActivityDTO act);
    
    public List<ActivityDTO> selectActivityList(ActivityDTO act);

    public DataResponse addActivity(ActivityDTO actDto);
    
    public DataResponse updateActivity(ActivityDTO actDto);

    public DataResponse getUserJoinActivityInfo(String happyNo, short joinType);

    public Page<ActivityDTO> selectActivity(Pageable pageable,String type);

}
